package com.ctshk.rpc.booking.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统机票旅客信息
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_supplier_system_order_air_ticket")
@ApiModel(value="SupplierSystemOrderAirTicket对象", description="系统机票旅客信息")
public class SupplierSystemOrderAirTicket extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属订单")
    private Long orderId;

    @ApiModelProperty(value = "所属机票信息")
    private Long airId;

    @ApiModelProperty(value = "行程类型")
    private Integer travelType;

    @ApiModelProperty(value = "启程日期")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "返程日期")
    private LocalDateTime backTime;

    @ApiModelProperty(value = "仓位ID")
    private Long positionId;

    @ApiModelProperty(value = "仓位")
    private String position;

    @ApiModelProperty(value = "旅客ID")
    private Long touristId;

    @ApiModelProperty(value = "旅客姓名")
    private String touristName;

    @ApiModelProperty(value = "国籍")
    private String nation;

    @ApiModelProperty(value = "旅客类型ID")
    private Long touristTypeId;

    @ApiModelProperty(value = "旅客类型")
    private String touristType;

    @ApiModelProperty(value = "证件类型ID")
    private Long certificateTypeId;

    @ApiModelProperty(value = "证件类型")
    private String certificateType;

    @ApiModelProperty(value = "证件号")
    private String certificateNumber;

    @ApiModelProperty(value = "单价")
    private BigDecimal singlePrice;

    @ApiModelProperty(value = "税费")
    private BigDecimal taxAmount;

    @ApiModelProperty(value = "小计")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
